package com.guage.producter.mapper;

import com.guage.producter.domain.RetailHoldBook;
import com.guage.producter.domain.RetailHoldBookExample;
import com.pad.dpscn.daag.sdk.core.annotation.DataMapperIntercept;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
@DataMapperIntercept(pk = {
		@DataMapperIntercept.PrimaryKeyField(propertyName = "holdId", columnName = "HOLD_ID") }, tableName = "RETAIL_HOLD_BOOK", operation = {
				DataMapperIntercept.Operation.INSERT, DataMapperIntercept.Operation.UPDATE,
				DataMapperIntercept.Operation.DELETE })
public interface RetailHoldBookMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    long countByExample(RetailHoldBookExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int deleteByExample(RetailHoldBookExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int deleteByPrimaryKey(String holdId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int insert(RetailHoldBook record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int insertSelective(RetailHoldBook record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    List<RetailHoldBook> selectByExample(RetailHoldBookExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    RetailHoldBook selectByPrimaryKey(String holdId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int updateByExampleSelective(@Param("record") RetailHoldBook record, @Param("example") RetailHoldBookExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int updateByExample(@Param("record") RetailHoldBook record, @Param("example") RetailHoldBookExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int updateByPrimaryKeySelective(RetailHoldBook record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table RETAIL_HOLD_BOOK
     *
     * @mbg.generated Thu Mar 21 09:25:28 CST 2024
     */
    int updateByPrimaryKey(RetailHoldBook record);
    
    
    void dynamicDeleteRetailHoldBook(Map<String,Object> map);
}